package com.piggy.logi.sys.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.*;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;



/**
 * 客户收发货地址管理对象 logi_customer_book
 *
 * @author piggy
 * @date 2023-08-16
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_customer_book")
public class LogiCustomerBook implements Serializable {

    private static final long serialVersionUID=1L;

    /** 主键 */
    @ApiModelProperty("主键")
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 服务商ID */
    @ApiModelProperty("服务商ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long customerId;

    /** 联系人 */
    @ApiModelProperty("联系人")
    private String contactName;

    /** 手机 */
    @ApiModelProperty("手机")
    private String phone;

    /** 序号 */
    @ApiModelProperty("序号")
    private Integer sort;

    /** 行政区划 */
    @ApiModelProperty("行政区划")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long bookDistrict;

    /** 详细地址 */
    @ApiModelProperty("详细地址")
    private String bookAddress;

    /** 纬度 */
    @ApiModelProperty("纬度")
    private BigDecimal bookLat;

    /** 经度 */
    @ApiModelProperty("经度")
    private BigDecimal bookLng;

}
